﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace LostLib.Win32
{
	[Serializable]
	[StructLayout(LayoutKind.Sequential)]
	public sealed class Rect
	{
		public int Left, Top, Right, Bottom;

		public int Width
		{
			get{ return Right - Left;}
			set { Right = Left + value; }
		}
		public int Height
		{
			get { return Bottom - Top; }
			set { Bottom = Top + value; }
		}
	}
}

